// src/main.js
import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs"; // 关键
import "element-plus/dist/index.css";
import axios from "axios";

// main.js
axios.defaults.baseURL = "/api";

createApp(App)
  .use(ElementPlus, { locale: zhCn }) // 这里注入中文
  .mount("#app");
